import request from '@/utils/request';

/**
 * @description 查询列表
 */
export const remoteList = params => {
    return request.get('/device/question/query', params);
};

/**
 * 添加
 */
export const addInfo = (imageUrls,data) => {
    return request.post(`/device/question/insert?imageUrls=${imageUrls}`, data);
};

/**
 * 更新
 */
export const updateInfo = data => {
    return request.post('/device/question/update', data);
};

/**详情 */
export const remoteDetailById = id=>{
    return request.get(`/device/question/qryById?id=${id}`)
}


export default{
    remoteList
}